

function GetVerifyPhone(phone = '12345678910') {
        phone = String(phone)
        let str = ''
        str += phone.slice(0, 3)
        str += '****'
        str += phone.slice(7)
        return str
    }

function IsGoodCollect(_id,collectGoodList){
    return collectGoodList.some(item=>item._id==_id)
}   

function IsBusinessCollect(_id,collectBusinessList){
    return collectBusinessList.some(item=>item._id==_id)
}
export  {GetVerifyPhone,IsGoodCollect,IsBusinessCollect}
